package com.deft.design.command.cuisine.impl;

import com.deft.design.command.cook.ICook;
import com.deft.design.command.cuisine.ICuisine;

/**
 * 湖南（湘菜）
 * @author Hide丶love
 * @date 2022/05/11
 **/
public class HunanCuisine implements ICuisine {

    private final ICook cook;

    public HunanCuisine(ICook cook) {
        this.cook = cook;
    }

    @Override
    public void cook() {
        cook.doCooking();
    }
}
